package com.yaolifei.flower.core;

import java.util.Collection;

import org.nutz.dao.entity.MappingField;
import org.nutz.dao.entity.annotation.ColType;

public interface CustomJdbcExpert {

	boolean addColumn(MappingField... mf);
	
	boolean addColumns(Collection<MappingField> mf);

	boolean dropColumn(MappingField mf);

	boolean renameColumn(MappingField mf, String newName);

	boolean changeColumnType(String column, ColType type);

	boolean renameTable(String originName, String newName);

}
